-
-
Notifications
You must be signed in to change notification settings - Fork 268
GLASGOW | MAY_2025 | MOHAMMED HUSSEIN | FORM CONTROL #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will also help you fill in your PR message later--> | ||
<div> | ||
<label for="name">Name</label> | ||
<input type="text" name="name" id="name" minlength="2" required /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern
attribute to disallow any name that contains only space characters?
Form-Controls/index.html
Outdated
<legend>Size</legend> | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Form-Controls/index.html
Outdated
<label for="XS">XS</label> | ||
<input type="radio" name="Size" id="XS" value="XS" required /> | ||
</div> | ||
<br /> | ||
<div> | ||
<label for="S">S</label> | ||
<input type="radio" name="Size" id="S" value="S" required /> | ||
</div> | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you find out from ChatGPT, "when to use radio buttons and when to use a dropdown list?" You don't have to change your implementation in this exercise.
…tween the size section and the submit button
Learners, PR Template
Self checklist
Changelist
Briefly explain your PR.
Questions
Ask any questions you have for your reviewer.